package com.tanhua.dubbo.api;

import com.tanhua.model.pojo.User;

import java.util.List;

public interface UserApi {
    Long save(User user);

    User findByMobile(String mobile);

    void update(User user);

    List<User> findAll();

    User findByHuanxin(String huanxinId);
}
